<select name="category" id="category" class="form-control">
    
</select>
<script type="text/template" id="category-id">
    {{each categoryList}}
    <option value="{{$value._id}}">{{$value.title}}</option>
    {{/each}}
</script>